
#include "register/tilingdata_base.h"

namespace optiling {
BEGIN_TILING_DATA_DEF(TilingData)
  TILING_DATA_FIELD_DEF(uint32_t, tileNum);
  TILING_DATA_FIELD_DEF(uint32_t, ALIGN_NUM);
  TILING_DATA_FIELD_DEF(uint32_t, block_size);
  TILING_DATA_FIELD_DEF(uint32_t, aivNum);
  TILING_DATA_FIELD_DEF(uint32_t, core_size);
  TILING_DATA_FIELD_DEF(uint32_t, core_remain);
  TILING_DATA_FIELD_DEF(uint32_t, total_length);
  TILING_DATA_FIELD_DEF(uint32_t, input_data_length);
  TILING_DATA_FIELD_DEF(uint32_t, x1_length);
  TILING_DATA_FIELD_DEF(uint32_t, x2_length);
  TILING_DATA_FIELD_DEF(uint32_t, y_dimensional);
  TILING_DATA_FIELD_DEF_ARR(uint32_t, 20, input_ndarray);
  TILING_DATA_FIELD_DEF_ARR(uint32_t, 20, x1_ndarray);
  TILING_DATA_FIELD_DEF_ARR(uint32_t, 20, x2_ndarray);
  TILING_DATA_FIELD_DEF_ARR(uint32_t, 20, y_ndarray);
  TILING_DATA_FIELD_DEF_ARR(uint32_t, 20, input_sumndarray);
  TILING_DATA_FIELD_DEF_ARR(uint32_t, 20, x1_sumndarray);
  TILING_DATA_FIELD_DEF_ARR(uint32_t, 20, x2_sumndarray);
  TILING_DATA_FIELD_DEF_ARR(uint32_t, 20, y_sumndarray);
  TILING_DATA_FIELD_DEF(bool, input_broad);
  TILING_DATA_FIELD_DEF(bool, x1_broad);
  TILING_DATA_FIELD_DEF(bool, x2_broad);
END_TILING_DATA_DEF;

REGISTER_TILING_DATA_CLASS(Addcmul, TilingData)
}